package com.chatplus.application.domain.request;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

/**
 * @Description 一键注册请求
 * @Author Angus
 * @Date 2024/3/3
 */
@Data
public class OneClickRegisterRequest implements Serializable {

    @JsonProperty("email")
    @NotEmpty(message = "通知")
    private String notice;

    @JsonProperty("invite_code")
    private String inviteCode;
}
